package serice.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import serice.Goodsserivice;
import dao.GoodsDao;
import entity.Criteria;
import entity.Goods;
import entity.UserFootCriteria;
import entity.UserFootGoods;

@Component
public class Goodsserivceimpl implements Goodsserivice{
	@Autowired
	private GoodsDao dao;
	@Override
	public List<Goods> findGoodsByCriteria(Criteria cr) {
		// TODO Auto-generated method stub
		return dao.findGoodsByCriteria(cr);
	}
	@Override
	public Integer getCount() {
		// TODO Auto-generated method stub
		return dao.getCount();
	}
	@Override
	public List<UserFootGoods> selectUserFoot(UserFootCriteria cr) {
		// TODO Auto-generated method stub
		return dao.selectUserFoot(cr);
	}
	
}
